package com.wan.net.rpc.message;

/**
 * @author wwh
 * @date 2022/6/17 18:07
 */
public class RpcResponse {
    /** 状态码 */
    private byte code;
    /** 结果 */
    private Object result;

    public byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "RpcResponse{" +
                "code=" + code +
                ", result=" + result +
                '}';
    }
}
